public class Test2 {
    public static void main(String[] args) {
        StringBuilder str = new StringBuilder("abcdefg");
        //System.out.println(str.reverse());
        System.out.println(str.capacity());
        System.out.println(str);
    }
}
